<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>后台管理系统</title>
    <import file="bmp" basepath="__STATIC__"/>
    <import file="easyui" basepath="__JS__"/>
</head>
<body>
<div class="easyui-layout"  data-options="fit:true">
    <div data-options="region:'north'," class="top-layout">
        <div class="top-header">
            <h1>后台管理系统</h1>
        </div>
    </div>
    <div id="leftMenuBox" data-options="region:'west',split:true" title="管理菜单" style="width: 180px;">
        <ul id="leftMenuTree" data-options="url:'{:U('menu/tree', array('isMenu' => 1))}'"></ul>
    </div>
    <div data-options="region:'center',border:false">
        <div id="rightTabs" class="easyui-tabs" data-options="fit:true,border:true">
            <div title="工作台" href="{:U('index/main')}" class="content-layout"></div>
        </div>
    </div>
    <div data-options="region:'south'" class="footer">
        版权所有 &copy; <a href="http://www.jushare.com">迅聚商务平台</a>
    </div>
</div>
<script type="text/javascript">
    $('#leftMenuTree').tree({
        onClick: function(node){
            var arr = eval('(' + node.attributes + ')');
            var rightTabs = $('#rightTabs');
            openTab(rightTabs, arr.text, arr.href, true);
        }
    });
</script>
</body>
</html>